package br.com.sebrae.pr.sgp.dao.impl;

import javax.ejb.Stateless;

import br.com.sebrae.pr.sgp.dao.HelloWorldDAO;
import br.com.sebrae.pr.sgp.entities.World;

@Stateless
public class HelloWorldDAOImpl implements HelloWorldDAO {

	@Override
	public World findWorldById(final long worldId) {
		final World world = new World();
		world.setId(worldId);
		world.setName("World #" + worldId);
		return world;
	}

}
